package cn.qp.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author qipan
 * @date 2020/01/11 13:45
 */
@Controller
public class IndexController {

    @RequestMapping("/")
    public String show(Model model) {
        model.addAttribute("name","张三");
        return "show";
    }
}
